Skip to content

feat(rtsp): Update jpeg frame to better handle out of order segments#501

Merged
finger563 merged 1 commit intomainfrom
feat/rtsp-jpeg-out-of-order-and-missing-segment-improvements
Aug 16, 2025
Merged

feat(rtsp): Update jpeg frame to better handle out of order segments#501
finger563 merged 1 commit intomainfrom
feat/rtsp-jpeg-out-of-order-and-missing-segment-improvements

Conversation

@finger563
Copy link
Copy Markdown
Contributor

Description

  • Update RTSP JPEG frame building implementation to better handle out-of-order segments
  • Update RTSP JPEG frame building to not finalize (mark complete) jpeg frames which receive the final packet but have missing segments.

Motivation and Context

Improves the robustness of the RTSP JPEG frame building implementation by ensuring that frames are only finalized when all segments are received, preventing incomplete frames from being sent to the client.

How has this been tested?

Building and running within the esp-cpp/camera-display project.

Screenshots (if appropriate, e.g. schematic, board, console logs, lab pictures):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update
  • Hardware (schematic, board, system design) change
  • Software change

Checklist:

  • My change requires a change to the documentation.
  • I have added / updated the documentation related to this change via either README or WIKI

Software

  • I have added tests to cover my changes.
  • I have updated the .github/workflows/build.yml file to add my new test to the automated cloud build github action.
  • All new and existing tests passed.
  • My code follows the code style of this project.

@github-actions
Copy link
Copy Markdown

✅Static analysis result - no issues found! ✅

@finger563 finger563 merged commit 999f574 into main Aug 16, 2025
92 of 93 checks passed
@finger563 finger563 deleted the feat/rtsp-jpeg-out-of-order-and-missing-segment-improvements branch August 16, 2025 03:54
@finger563 finger563 self-assigned this Aug 16, 2025
@finger563 finger563 added enhancement New feature or request rtsp labels Aug 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request rtsp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant